package com.sgb.kjwl.model.entity.self;

import android.text.TextUtils;

import com.sgb.kjwl.model.entity.transport.OfferGoodsSourcePlaceEntity;

import java.util.List;

/**
 * Describe:
 * Author:  yangLei
 * Date:    2021/4/22
 */
public class MyOfferDetailsEntity {
    //报价状态
    private String offerStatus;
    //货源no
    private String sourceNo;
    //货源 货物类型
    private String goodsTypeName;
    //
    private String secondGoodsTypeName;//2.1.4新增 二级货物类型。
    //货源 重量
    private String weight;
    //货源 体积
    private String volume;
    //货源信息费
    private String sourceMessagePrice;
    //货源总运费
    private String sourceAllFreight;
    //报价no
    private String no;
    //报价时间
    private String createTime;
    //报价信息费
    private String messagePrice;
    //报价总运费
    private String allFreight;
    //车型
    private String carTypeName;
    //车长
    private String carLenName;
    //栏高
    private String heightHurdle;
    //是否自卸
    private String isDump;
    //车辆位置 省
    private String provinceName;
    //车辆位置 市
    private String cityName;
    //车辆位置 区
    private String districtName;
    //车辆位置 详细地址
    private String detailAddress;
    //联系人
    private String contrcts;
    //联系人电话
    private String contrctsNumber;
    //备注
    private String note;
    //自定义字段
    private String addFiel;
    List<AddField> diyField;
    //货源装卸地
    private OfferGoodsSourcePlaceEntity place;
    //司机头像
    private String headImage;
    //司机姓名
    private String name;
    //司机年龄
    private String carAge;
    //司机驾龄
    private String driverAge;
    //车主 IM账号
    private String imAccount;
    //车主
    private String imToken;
    //车主手机号
    private String telphone;
    //订单no
    private String orderNo;
    //货运订单no
    private String messageOrderNo;
    //司机userNo
    private String userNo;

    //装货时间
    private String shipmentTime;
    //卸货时间
    private String shipmentEndTime;
    //运费
    private String freight;
    //车牌号
    private String carNumber;

    //货源运费单价
    private String goodsSourceFreight;
    private String sourceFreight;
    //单位 1：元/趟，2：元/吨，3：元/方
    private String freightUnit;
    //单位 元/吨
    private String unit;
    //司机no
    private String driverNo;
    //车辆照片
    private String carImage;
    private String carOfferNo;
    private String goodsOfferNo;//2.0.3报价新增

    //货源报价截止时间
    private String endTime;
    //支付截止日期
    private long payEndTime;

    //报价类型  1企业 2团队 3个人
    private int offerType;
    private String companyName;//企业名称
    private String companyType;//企业类型
    private String creditCode;//统一信用代码
    private String registeredCapital;//注册资本
    private String establishmentDate;//成立日期
    private String businessAddress;//企业/团队经营地址

    private String teamName;//团队名称
    private String businessTypeNo;//经营类型编号
    private String businessType;//经营类型
    private String scale;//团队人数
    private String accessory;//附件图片
    private int  offerNum;//已报价次数
    private long  inTime;//进场时间
    private int  inPointTime;//进场时间点

    private String goodsOwnerIM;//货主IM
    private String goodsOwnerIMToken;//货主 IMToken
    private String goodsOwnerPhone;//货主电话

    private int failureCause;//失效原因
    private Integer freightType;//运费选项 0一口价 1电议
    //2.2.1新增
    //@ApiModelProperty("报价填写的单位")
    private int quotationFreightUnit;

    //@ApiModelProperty("承运车辆")
    private List<CarInfoListEntity> driverAuths;

    //@ApiModelProperty("承运承诺")
    private String carriageCommitment;

    //@ApiModelProperty("营销宣传")
    private String marketingPublicity;

    //@ApiModelProperty("发票要求Id")
    private String invoiceInfoId;

    //@ApiModelProperty("企业发票内容实体")
    private InvoiceInfo invoiceInfo;

    //@ApiModelProperty("个人团队发票要求实体")
    private PersonalInvoiceInfo personalInvoiceInfo;
    private String orderPayTime;

    private String carType;
    private String carLen;

    public String getOrderPayTime() {
        return orderPayTime;
    }

    public void setOrderPayTime(String orderPayTime) {
        this.orderPayTime = orderPayTime;
    }

    public Integer getFreightType() {
        return freightType;
    }

    public void setFreightType(Integer freightType) {
        this.freightType = freightType;
    }

    public int getFailureCause() {
        return failureCause;
    }

    public void setFailureCause(int failureCause) {
        this.failureCause = failureCause;
    }

    public int getOfferType() {
        return offerType;
    }

    public void setOfferType(int offerType) {
        this.offerType = offerType;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public String getEstablishmentDate() {
        return establishmentDate;
    }

    public void setEstablishmentDate(String establishmentDate) {
        this.establishmentDate = establishmentDate;
    }

    public String getBusinessAddress() {
        return businessAddress;
    }

    public void setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getBusinessTypeNo() {
        return businessTypeNo;
    }

    public void setBusinessTypeNo(String businessTypeNo) {
        this.businessTypeNo = businessTypeNo;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getAccessory() {
        return accessory;
    }

    public void setAccessory(String accessory) {
        this.accessory = accessory;
    }

    public long getPayEndTime() {
        return payEndTime;
    }

    public void setPayEndTime(long payEndTime) {
        this.payEndTime = payEndTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getDriverNo() {
        return driverNo;
    }

    public void setDriverNo(String driverNo) {
        this.driverNo = driverNo;
    }

    public String getCarImage() {
        return carImage;
    }

    public void setCarImage(String carImage) {
        this.carImage = carImage;
    }

    public String getOfferStatus() {
        return offerStatus == null ? "" : offerStatus;
    }

    public void setOfferStatus(String offerStatus) {
        this.offerStatus = offerStatus;
    }

    public String getSourceNo() {
        return sourceNo;
    }

    public void setSourceNo(String sourceNo) {
        this.sourceNo = sourceNo;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getSourceMessagePrice() {
        return sourceMessagePrice;
    }

    public void setSourceMessagePrice(String sourceMessagePrice) {
        this.sourceMessagePrice = sourceMessagePrice;
    }

    public String getSourceAllFreight() {
        return sourceAllFreight;
    }

    public void setSourceAllFreight(String sourceAllFreight) {
        this.sourceAllFreight = sourceAllFreight;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getMessagePrice() {
        return messagePrice;
    }

    public void setMessagePrice(String messagePrice) {
        this.messagePrice = messagePrice;
    }

    public String getAllFreight() {
        return allFreight;
    }

    public void setAllFreight(String allFreight) {
        this.allFreight = allFreight;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    public String getCarLenName() {
        return carLenName;
    }

    public void setCarLenName(String carLenName) {
        this.carLenName = carLenName;
    }

    public String getHeightHurdle() {
        return heightHurdle;
    }

    public void setHeightHurdle(String heightHurdle) {
        this.heightHurdle = heightHurdle;
    }

    public String getIsDump() {
        return isDump;
    }

    public void setIsDump(String isDump) {
        this.isDump = isDump;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getContrcts() {
        return contrcts;
    }

    public void setContrcts(String contrcts) {
        this.contrcts = contrcts;
    }

    public String getContrctsNumber() {
        return contrctsNumber;
    }

    public void setContrctsNumber(String contrctsNumber) {
        this.contrctsNumber = contrctsNumber;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getAddFiel() {
        return addFiel;
    }

    public void setAddFiel(String addFiel) {
        this.addFiel = addFiel;
    }

    public List<AddField> getDiyField() {
        return diyField;
    }

    public void setDiyField(List<AddField> diyField) {
        this.diyField = diyField;
    }

    public OfferGoodsSourcePlaceEntity getPlace() {
        return place;
    }

    public void setPlace(OfferGoodsSourcePlaceEntity place) {
        this.place = place;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCarAge() {
        return carAge;
    }

    public void setCarAge(String carAge) {
        this.carAge = carAge;
    }

    public String getDriverAge() {
        return driverAge;
    }

    public void setDriverAge(String driverAge) {
        this.driverAge = driverAge;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    public String getImToken() {
        return imToken;
    }

    public void setImToken(String imToken) {
        this.imToken = imToken;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getShipmentTime() {
        return shipmentTime;
    }

    public void setShipmentTime(String shipmentTime) {
        this.shipmentTime = shipmentTime;
    }

    public String getShipmentEndTime() {
        return shipmentEndTime;
    }

    public void setShipmentEndTime(String shipmentEndTime) {
        this.shipmentEndTime = shipmentEndTime;
    }

    public String getFreightUnitWorls() {
        if (TextUtils.isEmpty(freightUnit))
            return "";
        //1：元/趟，2：元/吨，3：元/方
        if (freightUnit.equals("1"))
            return "元/趟";
        if (freightUnit.equals("2"))
            return "元/吨";
        if (freightUnit.equals("3"))
            return "元/方";
        return "";
    }

    public String getQuoteFreightUnitWorls() {
        if (quotationFreightUnit == 0)
            return "元/趟";
        //1：元/趟，2：元/吨，3：元/方
        if (quotationFreightUnit == 1)
            return "元/趟";
        if (quotationFreightUnit == 2)
            return "元/吨";
        if (quotationFreightUnit == 3)
            return "元/方";
        return "";
    }

    public String getFreightUnit() {
        return freightUnit;
    }

    public void setFreightUnit(String freightUnit) {
        this.freightUnit = freightUnit;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getUnit() {
        return unit;
    }

    public String getGoodsSourceFreight() {
        return goodsSourceFreight;
    }

    public void setGoodsSourceFreight(String goodsSourceFreight) {
        this.goodsSourceFreight = goodsSourceFreight;
    }

    public String getSourceFreight() {
        return sourceFreight;
    }

    public void setSourceFreight(String sourceFreight) {
        this.sourceFreight = sourceFreight;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCarOfferNo() {
        return carOfferNo;
    }

    public void setCarOfferNo(String carOfferNo) {
        this.carOfferNo = carOfferNo;
    }

    public String getGoodsOfferNo() {
        return goodsOfferNo;
    }

    public void setGoodsOfferNo(String goodsOfferNo) {
        this.goodsOfferNo = goodsOfferNo;
    }

    public int getOfferNum() {
        return offerNum;
    }

    public void setOfferNum(int offerNum) {
        this.offerNum = offerNum;
    }

    public long getInTime() {
        return inTime;
    }

    public void setInTime(long inTime) {
        this.inTime = inTime;
    }

    public int getInPointTime() {
        return inPointTime;
    }

    public void setInPointTime(int inPointTime) {
        this.inPointTime = inPointTime;
    }

    public String getGoodsOwnerIM() {
        return goodsOwnerIM;
    }

    public void setGoodsOwnerIM(String goodsOwnerIM) {
        this.goodsOwnerIM = goodsOwnerIM;
    }

    public String getGoodsOwnerIMToken() {
        return goodsOwnerIMToken;
    }

    public void setGoodsOwnerIMToken(String goodsOwnerIMToken) {
        this.goodsOwnerIMToken = goodsOwnerIMToken;
    }

    public String getGoodsOwnerPhone() {
        return goodsOwnerPhone;
    }

    public void setGoodsOwnerPhone(String goodsOwnerPhone) {
        this.goodsOwnerPhone = goodsOwnerPhone;
    }

    public String getSecondGoodsTypeName() {
        return secondGoodsTypeName;
    }

    public void setSecondGoodsTypeName(String secondGoodsTypeName) {
        this.secondGoodsTypeName = secondGoodsTypeName;
    }

    public int getQuotationFreightUnit() {
        return quotationFreightUnit;
    }

    public void setQuotationFreightUnit(int quotationFreightUnit) {
        this.quotationFreightUnit = quotationFreightUnit;
    }

    public List<CarInfoListEntity> getDriverAuths() {
        return driverAuths;
    }

    public void setDriverAuths(List<CarInfoListEntity> driverAuths) {
        this.driverAuths = driverAuths;
    }

    public String getCarriageCommitment() {
        return carriageCommitment;
    }

    public void setCarriageCommitment(String carriageCommitment) {
        this.carriageCommitment = carriageCommitment;
    }

    public String getMarketingPublicity() {
        return marketingPublicity;
    }

    public void setMarketingPublicity(String marketingPublicity) {
        this.marketingPublicity = marketingPublicity;
    }

    public String getInvoiceInfoId() {
        return invoiceInfoId;
    }

    public void setInvoiceInfoId(String invoiceInfoId) {
        this.invoiceInfoId = invoiceInfoId;
    }

    public InvoiceInfo getInvoiceInfo() {
        return invoiceInfo;
    }

    public void setInvoiceInfo(InvoiceInfo invoiceInfo) {
        this.invoiceInfo = invoiceInfo;
    }

    public PersonalInvoiceInfo getPersonalInvoiceInfo() {
        return personalInvoiceInfo;
    }

    public void setPersonalInvoiceInfo(PersonalInvoiceInfo personalInvoiceInfo) {
        this.personalInvoiceInfo = personalInvoiceInfo;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getCarLen() {
        return carLen;
    }

    public void setCarLen(String carLen) {
        this.carLen = carLen;
    }

    public String getMessageOrderNo() {
        return messageOrderNo;
    }

    public void setMessageOrderNo(String messageOrderNo) {
        this.messageOrderNo = messageOrderNo;
    }
}
